def aabb(n):
    first = n//100  # 取千位和百位的数
    second = n % 100  # 取十位和个位的数
    return first % 11 == 0 and second % 11 == 0  # 检查是否为 aabb 格式


def main():
    for x in range(32, 99+1):
        if aabb(x*x):
            print(x*x)


if __name__ == '__main__':
    main()
